package com.coldwindblows.blog.dao;

import java.util.List;

public interface BaseMapper<T> {
	
	List<T> listAll();
	
	T selectByPrimaryKey(Integer primaryKey);
	
	Integer insert(T t);
	
	Integer updateByPrimaryKey(T t);
	
	Integer deleteByPrimaryKey(Integer id);

}
